def celsiusToFahrenheit(celsius):
    return (9/5)*celsius + 32


def fahrenheitToCelsius(fahrenheit):
    return (5/9)*(fahrenheit-32)


print(format("摄氏度",">6s"),format("华氏度",">6s"),format("华氏度",">6s"),format("摄氏度",">6s"))

for i in range(0,10):
    celsius = (40-i*1)*100/100
    fahrenheit = (120 - 10*i)*100/100

    print(format(str(celsius),">8s"),format(celsiusToFahrenheit(celsius),">10.2f"),format(str(fahrenheit),">8s"),format(fahrenheitToCelsius(fahrenheit),">10.2f"))

